Highly E cient and Encapsulated Re-use of Synchronization Code in Concurrent Object-Oriented Languages
نویسندگان
چکیده
Re-use of synchronization code in concurrent OOlanguages has been considered di cult due to inheritance anomaly, which we minimize with our new proposal. Designed with high practicality in mind, we propose language primitives (plus their implementation) with the following characteristics: (1) it allows multiple synchronization schemes|the language schemes for programming synchronization|to coexist and be integrated, (2) re-use of synchronization code is done similarly to sequential OO-languages for user familiarity, (3) it o ers high degree of encapsulation|even synchronization schemes could be encapsulated in superclasses in many cases, and (4) it can be e ciently implemented on conventional MPPs. We demonstrate the e ectiveness of our proposal with solutions to the example inheritance anomaly cases from [16]. We also give an overview of the implementation architecture, along with preliminary benchmarks. The proposed language primitives are being incorporated into our ABCL/onAP1000 running on Fujitsu's 512-node MPP, AP1000.
منابع مشابه
Language Features for Re-use and Extensibility in Concurrent Object-oriented Programming Languages
We investigate and propose two major language features to realize and enhance extensibility and re-usability in concurrent object-oriented (OO) languages. Part 1 addresses inheritance in concurrent-OO languages: re-use of synchronization code in concurrent OO-languages has been considered di cult due to inheritance anomaly, which we analyze and categorize extensively, and minimize with our new ...
متن کاملLanguage Features for Re - use and Extensibility in Concurrent Object - Oriented Programming
We investigate and propose two major language features to realize and enhance extensibility and re-usability in concurrent object-oriented (OO) languages. Part 1 addresses inheritance in concurrent-OO languages: re-use of synchronization code in concurrent OO-languages has been considered di cult due to inheritance anomaly, which we analyze and categorize extensively, and minimize with our new ...
متن کاملA Programming Language for Teaching Concurrent Object-Oriented Concepts
Studying concurrency one of the major difficulties is the need for a variety of programming languages to be available. But expecting students to learn at the same time a lot of languages is clearly undesirable. Concurrent object-oriented concepts can be understood more successfully if we have a programming language furnishing us with different kind of tools expressing concurrency and object-ori...
متن کاملInheritance by Extensions and Restrictions in Agent Systems
Agent-oriented programming is a new area which extends the object-oriented concepts of encapsulated objects with the notions of beliefs, desires, intentions, teams, conversations etc. Deening an inheritance mechanism which will combine all these diierent aspects of agent languages into a uniform methodology for code re-use is a challenge. In this paper we give two diierent methodologies for re-...
متن کاملUsing Partial Evaluation in Re ective Concurrent Object - Oriented Languages
Parallel and distributed programs often have hardware/problem speci c optimizations for improving quality of the program such as e ciency and robustness. Those optimizations, unfortunately, degrade portability and re-usability as they are intertwined with the original algorithm description. Re ective languages, which provide the application programmer extensible and abstract implementation of t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993